package com.cupk.dtos;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class CreateProjectRequest {
    @NotBlank
    private String projectName;
    private String projectCode;
    private String description;
    private LocalDate startDate;
    private LocalDate endDate;
    @NotBlank
    private String status;
    private BigDecimal budgetAmount;
    @NotNull // 创建项目时必须指定负责人ID
    private Long principalInvestigatorId;
}